{% extends "base.html" %}
{% block title %} 编辑待办事项 {% endblock %}
{% block content %}
<h2>更新待办事项</h2>
<form method="post" action="{{ url_for('todo.edit', todo_id=todo.id)}}">
    <input id="title" name="title" placeholder="update todo item" type="text">
    <button type="submit">Update</button>
</form>
{% endblock %}